 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:es="http://java.sun.com/jsf/composite/ecomposite">

<ui:composition template="/template.xhtml">

	<ui:define name="title">
	ShopX | Goods features page
	</ui:define>

	<ui:define name="body">
		
  		<h:dataTable value="#{goodsFeatures.featureNames}" var="name" rules="all" 
  		columnClasses="oddColumn, evenColumn" headerClass="featuresHeader">
			
			<h:column>
 			<f:facet name="header">#{msgs.feature}</f:facet>
  			#{name}
 			</h:column>

			<h:column>
 			<f:facet name="header">#{msgs.value}</f:facet>
 			 #{goodsFeatures.features[name]}
 			</h:column>
 			
		</h:dataTable>
     
    </ui:define>
 </ui:composition>

</html>